<?php
/**
 * @author spenceryg
 * @date 2022/11/25
 * @time 11:22 下午
 * @focus love & life
 */

namespace app\admin\controller\sys\validate;

class AdminFileValidate extends \think\Validate
{
    public $rule = [
        'file' => [
            'fileExt' => '',
            'fileSize' => 1 * 1024 * 1024],
    ];
    protected $message = [
        'file.fileExt' => '当前文件后缀名不可上传',
        'file.fileSize' => '文件大小超出限制',
    ];
}
